@charset "utf-8";

body{
    background-color: #fff;
}

/* 一、导航特殊样式 */
.header>a:nth-child(4){
    color: #333;
}
.header span a{
    color: #333;
}
.header span a.on{
    border-bottom: 2px solid #0af;
    color: #0af;
}
.header{
    position: static;
    border-bottom: 1px solid rgba(0,150,255,0.2);
}

/* 二、API分类 */
.API{
    margin-top: 50px;
}
.API h2{
    font-size: 32px;
    font-weight: normal;
    margin: 20px 0;
}
/* 2.1分类导航 */
.API .APT-nav {
    margin-bottom: 20px;
}
.API .APT-nav a{
    display: inline-block;
    color: #555;
    border: 1px solid #ccc;
    line-height: 24px;
    padding: 0px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin: 10px;
    margin-left: 0;
}
.API .APT-nav a.blod{
    font-weight: bold;
}
.API .APT-nav a:hover{
    color: #0af;
    border: #0af 1px solid;
}
/* 2.2搜索框 */
.search span{
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}
.search input{
    width: 220px;
    height: 30px;
    box-sizing: border-box;
    padding: 2px 10px;
    border-radius: 15px;
    border: 0;
    outline: 0;
    line-height: 30px;
    background-color: #f5f5f5;
    position: relative;
    background-image: url(../images/magnifier.png);
    background-repeat: no-repeat;
    background-position: 192px 7px;
}
.search input::placeholder{
    font-size: 12px;
    position: absolute;
    top: 7px;
    left: 15px;
}

/* 2.3内容展示 */
.main{
    margin: 30px 0;
    text-align: center;
    font-size: 12px;
}
.main li{
    height: 270px;
    float: left;
    width: 230px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    padding: 10px;
    margin-right: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.main li:nth-child(5n){
    margin-right: 0;
}
.main li .msg{
    width: 80px;
    display: block;
    background-color: #e5f8ff;
    line-height: 26px;
    color: #0af;   
    opacity: 0;
}
.main li span.on{
    opacity: 1;
}
.main li img{
    height: 60px;
    margin-bottom: 10px;
    margin-top: 30px;
    transition: all 0.3s;
}
.main li h4{
    font-weight: normal;   
    margin: 10px 0;
}
.main li .tips{
    display: inline-block;
    margin-bottom: 100px;
    transition: all 0.3s;
    color: #0a0;
}
.main li .apply{
    display: block;
    width: 100%;
    margin: 20px 0 10px;
    background-color: #0af;
    color: #fff;
    line-height: 30px;
    cursor: pointer;
}
.main li:hover .tips{
    margin-bottom: 20px;
}
.main li:hover img{
    margin-top: 20px;
}
.main li .red{
    color: #f00;
}

/* 2.4模态框 */
.motai{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(100,100,100,0.5);
    display: none;
}
/* 2.4.1模态框激活状态 */
.motai form div.on{
    display: block;
}
.motai form{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 500px;
    padding: 50px;
    background-color: #fff;
    margin-top: -250px;
    margin-left: -200px;
}

.motai form a img{
    margin-bottom: 40px;
    width: 300px;
    margin-left: 100px;
}
.motai .title{
    margin-bottom: 60px;
    text-align: center;
}
.motai .title span{
    display: inline-block;
    width: 3px;
    height: 15px;
    background-color: #999;
    margin: 0 30px;
}
.motai .title a{
    text-align: center;
    color: #333;
    font-size: 18px;
    position: relative; 
}

/* 登录方式标题激活状态 */
.motai .title .on{
    color: #00a7f2;
}
.motai .title .on::after{
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: #00a7f2;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -20px;
}

/* 2.4.2账号登录 */
.motai .acount{
    display: none;
}
.motai .acount input{
    width: 400px;
    height: 40px;
    margin-bottom: 30px;
    background: none;
    outline: 0;
    border: 0;
    box-sizing: border-box;
    border-bottom: 1px #999 solid;
    padding: 0 50px;  
}
.motai .acount p{
    position: relative;
}
.motai .acount p span{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../images/loginIcon.png) no-repeat;
    background-position: -54px 0px;
    position: absolute;
    bottom: 35px;
    left: 5px;
}
.motai .acount .pwd span{
    background-position: -23px 0px;
}

.motai .acount>span{
    display: block;
    width: 100%;
    text-align: right;
    color: #1ca8ef;
    cursor: pointer;
}
.motai .acount button{
    width: 400px;
    line-height: 50px;
    box-sizing: border-box;
    background-color: #1ca8ef;
    border: 0;
    color: #fff;
    margin-top: 30px;
}
.motai .msg{
    margin-top: 20px;
    text-align: right;
    margin-right: 40px;
}
.motai .msg a{
    color: #00a7f2;
}
.motai .msg span::after{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../images/loginIcon.png) no-repeat;
    background-position: -54px -32px;
}
/* 2.4.3扫码登录 */
.motai .saoma{
    display: none;
    border: 1px #ddd solid;
    background-color: #fcfcfc;
    text-align: center;
    padding: 30px 0;
    width: 320px;
    margin: 0 auto;
}
.motai .saoma span{
    display: block;
    margin: 20px 0;
}

/* 三、分页符 */
.pages{
    text-align: center;
    margin-bottom: 40px;
}
.pages a{
    margin: 0 5px;
    line-height: 26px;
}
.pages .number{
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #333;
    line-height: 26px;
}
.pages a.on{
    background-color: #00a7f2;
    color: #fff;
}
.pages a:last-child{
    color: #00a7f2;
}

